import { Column, Model, Table } from 'sequelize-typescript'
import { DataTypes } from 'sequelize'

@Table({
  tableName: 'firstctgy',
})
export default class Firstctgy extends Model<Firstctgy> {
  @Column({
    type: DataTypes.INTEGER,
    field: 'firstCtgyId',
    primaryKey: true,
    autoIncrement: true,
  })
  firstCtgyId!: number
  @Column({
    type: DataTypes.STRING(30),
    field: 'firstctgyname',
    primaryKey: true,
    autoIncrement: true,
  })
  firstctgyname!: string
}
